home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4810 / 4810.xpi / chrome / speeddial.jar / content / settings / pref-defaults.xul < prev    next >
Extensible Markup Language  |  2010-01-31  |  6KB  |  134 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % dialogDTD SYSTEM "chrome://speeddial/locale/prefs.dtd">
  5. %dialogDTD;
  6. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd">
  7. %tabBrowserDTD;
  8. <!ENTITY % editDialDTD SYSTEM "chrome://speeddial/locale/editDial.dtd">
  9. %editDialDTD;
  10. ]>
  11.  
  12. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.     id="ThumbnailsPaneOverlay">
  14.  
  15.     <prefpane id="paneDefaults" label="&defaults.label;" onpaneload="defaultsPrefInit();">
  16.         <script type="application/x-javascript" src="pref-defaults.js"/>
  17.         <preferences>
  18.             <preference id="pref-defaultDialJavascript" name="extensions.speeddial.defaultDialJavascript" type="bool"/>
  19.             <preference id="pref-rows" name="extensions.speeddial.rows" type="int"/>
  20.             <preference id="pref-columns" name="extensions.speeddial.columns" type="int"/>
  21.             <preference id="pref-minimumWidth" name="extensions.speeddial.minimumWidth" type="int"/>
  22.             <preference id="pref-maximumWidth" name="extensions.speeddial.maximumWidth" type="int"/>
  23.             <preference id="pref-widthModifier" name="extensions.speeddial.widthModifier" type="int"/>
  24.             <preference id="pref-widthModifierType" name="extensions.speeddial.widthModifierType" type="int"/>
  25.             <preference id="pref-minimumHeight" name="extensions.speeddial.minimumHeight" type="int"/>
  26.             <preference id="pref-maximumHeight" name="extensions.speeddial.maximumHeight" type="int"/>
  27.             <preference id="pref-heightModifier" name="extensions.speeddial.heightModifier" type="int"/>
  28.             <preference id="pref-heightModifierType" name="extensions.speeddial.heightModifierType" type="int"/>
  29.         </preferences>
  30.         <groupbox>
  31.             <caption label="&dialDefaults.caption;"/>
  32.             <hbox flex="1">
  33.                 <grid flex="1">
  34.                     <columns>
  35.                         <column/>
  36.                         <column flex="1"/>
  37.                     </columns>
  38.                     <rows>
  39.                         <row align="center">
  40.                             <label value="&refresh.label;"/>
  41.                             <hbox align="center">
  42.                                 <textbox id="currentDefaultRefresh" value="&refreshType.never;" readonly="true" size="12"/>
  43.                                 <button label="&changeDefault.label;" onclick="showDefaultRefreshDialog();"/>
  44.                                 <spacer flex="1"/>
  45.                                 <button label="&applyToDials.label;" onclick="applyRefreshSelectDialog();"/>
  46.                             </hbox>
  47.                         </row>
  48.                     </rows>
  49.                 </grid>
  50.                 <separator class="thin"/>
  51.             </hbox>
  52.             <hbox flex="1" align="center">
  53.                 <checkbox id="defaultDialJavascript" label="&javascript.label;" preference="pref-defaultDialJavascript" value="1"/>
  54.                 <spacer flex="1"/>
  55.                 <button label="&applyToDials.label;" onclick="applyJavascriptSelectDialog();"/>
  56.             </hbox>
  57.         </groupbox>
  58.         <groupbox>
  59.             <caption label="&groupDefaults.caption;"/>
  60.             <hbox flex="1" align="center">
  61.                 <label value="&rows.label;" id="rowsLabel" flex="0" style="vertical-align: middle;"/>
  62.                 <textbox id="rows" size="3" preference="pref-rows"/>
  63.                 <label value="&columns.label;" id="columnsLabel" flex="0" style="vertical-align: middle;"/>
  64.                 <textbox id="columns" size="3" preference="pref-columns"/>
  65.                 <spacer flex="1"/>
  66.                 <button label="&applyToGroups.label;" onclick="applyRowsColumnsSelectDialog();"/>
  67.             </hbox>
  68.         </groupbox>
  69.         <groupbox>
  70.             <caption label="&sizeDefaults.caption;"/>
  71.       <grid>
  72.         <columns>
  73.           <column/>
  74.           <column/>
  75.           <column flex="1"/>
  76.         </columns>
  77.         <rows>
  78.           <row align="center">
  79.             <label value="&minimumWidth.label;" control="minimumWidth"/>
  80.             <textbox id="minimumWidth" size="3" preference="pref-minimumWidth"/>
  81.             <hbox>
  82.               <label value="&pixels.label;"/>
  83.               <spacer flex="1"/>
  84.               <button label="&applyToGroups.label;" onclick="applySizeSelectDialog();"/>
  85.             </hbox>
  86.           </row>
  87.           <row align="center">
  88.             <label value="&maximumWidth.label;" control="maximumWidth"/>
  89.             <textbox id="maximumWidth" size="3" preference="pref-maximumWidth"/>
  90.             <label value="&pixels.label;"/>
  91.           </row>
  92.           <row align="center">
  93.             <label value="&widthModifier.label;" control="widthModifier"/>
  94.             <textbox id="widthModifier" size="3" preference="pref-widthModifier"/>
  95.             <hbox>
  96.               <menulist flex="0" id="widthModifierType" preference="pref-widthModifierType">
  97.                 <menupopup>
  98.                   <menuitem value="0" label="&percentModifier.option;"/>
  99.                   <menuitem value="1" label="&marginModifier.option;"/>
  100.                 </menupopup>
  101.               </menulist>
  102.               <spacer flex="1"/>
  103.             </hbox>
  104.           </row>
  105.           <row align="center">
  106.             <label value="&minimumHeight.label;" control="minimumHeight"/>
  107.             <textbox id="minimumHeight" size="3" preference="pref-minimumHeight"/>
  108.             <label value="&pixels.label;"/>
  109.           </row>
  110.           <row align="center">
  111.             <label value="&maximumHeight.label;" control="maximumHeight"/>
  112.             <textbox id="maximumHeight" size="3" preference="pref-maximumHeight"/>
  113.             <label value="&pixels.label;"/>
  114.           </row>
  115.           <row align="center">
  116.             <label value="&heightModifier.label;" control="heightModifier"/>
  117.             <textbox id="heightModifier" size="3" preference="pref-heightModifier"/>
  118.             <hbox>
  119.               <menulist flex="0" id="heightModifierType" preference="pref-heightModifierType">
  120.                 <menupopup>
  121.                   <menuitem value="0" label="&percentModifier.option;"/>
  122.                   <menuitem value="1" label="&marginModifier.option;"/>
  123.                 </menupopup>
  124.               </menulist>
  125.               <spacer flex="1"/>
  126.             </hbox>
  127.           </row>
  128.         </rows>
  129.       </grid>
  130.         </groupbox>
  131.         <spacer flex="1"/>
  132.     </prefpane>
  133. </overlay>
  134.